extends "../cTDP_2_1/cTDP_2_1.gd"
func _info():
	pass

func _connect():
	._connect()
var baseId = ""
func _extInit():
	._extInit()
	lv = 4
	attCoe.atk *=1.5
	attCoe.maxHp *= 1.5
	addSkillTxt("光荣治愈：对敌方的技能伤害将有33%转化为对所有友方的治疗[治疗总值为33%，平摊治疗]")

func _onAtkChara(atkinfo):
	if !atkinfo.isMiss && atkinfo.atkType == Chara.AtkType.SKILL:
		var chas = getAllChas(2)
		if !chas.size():return
		var healall = atkinfo.hurtVal * 0.33
		var healval = healall / chas.size()
		for i in chas:
			healCha(i,healval)
		atkinfo.hurtVal *= (1-0.33)